package application

import (
	"fmt"
)

type Module interface {
	BootStrap()
	Name() string
	SetApplication(app *Application)
	GetVersion() string
}

var (
	modules = make([]Module, 0)
)

func Register(m Module) {
	fmt.Printf("register module\n")
	modules = append(modules, m)
}
